package com.wusuowei.shiro_jwt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wusuowei.shiro_jwt.model.po.Category;
import com.wusuowei.shiro_jwt.model.po.Product;
import com.wusuowei.shiro_jwt.model.po.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CategoryService extends IService<Category> {
    Category getCategory(String cid);

    Page<Category> findPage(Page<Category> page,  String cname);
    Category getCategoryById(Integer id);

}
